<?php
//Here is the add bookmark-view, wcich is basically just a form.
//Still needs: form validation, upload of photo



echo heading("Add Bookmark", 2);
echo br();
echo '<table border="0px solid black"><tr><td width="60px"></td><td>';
echo form_open('bookmarks/insert');

echo form_label('URL:', 'url');
$input = array('name' => 'url', 'id' => 'url', 'size'=> 40, 'value' => $url);
echo form_input($input);


echo form_label('Description:', 'description');
echo br();
$input = array('name' => 'description', 'id' => 'description', 'rows'=> 10, 'cols' => 35);
echo form_textarea($input);

//tag_field(); Bilde

echo br(2);
echo form_submit('add','add');

echo form_close();

echo '</td></tr></table>';

?>